import http from '../../utils/request'

export async function getExamInfos(data:any ) {
  return http.request({
    url: '/teacher/getExamInfo',
    method: 'post',
    data
  })
}

export async function operationExam1(ids) {
  return http.request({
    url: `/teacher/operationExam/1?ids=${ids}`,
    method: 'get',
  })
}
export async function operationExam2(ids) {
  return http.request({
    url: `/teacher/operationExam/2?ids=${ids}`,
    method: 'get',
  })
}
export async function operationExam3(ids) {
  return http.request({
    url: `/teacher/operationExam/3?ids=${ids}`,
    method: 'get',
  })
}
